Inheritance diagram for I3DShScene:

Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | SetScene (I3DShScene *topScene)=0 |
| virtual uint32 MCCOMAPI | Get3DObjectsCount ()=0 |
| virtual MCCOMErr MCCOMAPI | Get3DObjectByIndex (I3DShObject **object, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | Get3DObjectByName (I3DShObject **object, const TMCString &name)=0 |
| virtual MCCOMErr MCCOMAPI | Insert3DObject (I3DShObject *object)=0 |
| virtual MCCOMErr MCCOMAPI | Rename3DObject (I3DShObject *object, TMCString &newName)=0 |
| virtual MCCOMErr MCCOMAPI | Remove3DObject (I3DShObject *object)=0 |
| virtual MCCOMErr MCCOMAPI | Changed3DObject (I3DShObject *object)=0 |
| virtual MCCOMErr MCCOMAPI | Replace3DObject (I3DShObject *oldObject, I3DShObject *newObject)=0 |
| virtual uint32 MCCOMAPI | Find3DObject (I3DShObject *object)=0 |
| virtual uint32 MCCOMAPI | GetMasterShadersCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetMasterShaderByIndex (I3DShMasterShader **masterShader, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | GetMasterShaderByName (I3DShMasterShader **masterShader, const TMCString &name)=0 |
| virtual MCCOMErr MCCOMAPI | InsertMasterShader (I3DShMasterShader *masterShader)=0 |
| virtual MCCOMErr MCCOMAPI | RenameMasterShader (I3DShMasterShader *masterShader, TMCString &newName)=0 |
| virtual MCCOMErr MCCOMAPI | RemoveMasterShader (I3DShMasterShader *masterShader)=0 |
| virtual MCCOMErr MCCOMAPI | RemoveDuplicatedAndUnusedMasterShaders (boolean justRemoveDuplicatedLink=false, boolean lookForReferenceShaders=true)=0 |
| virtual uint32 MCCOMAPI | FindMasterShader (I3DShMasterShader *masterShader)=0 |
| virtual MCCOMErr MCCOMAPI | ChangedMasterShader (I3DShMasterShader *masterShader)=0 |
| virtual boolean MCCOMAPI | IsEqualMasterShader (TMCCountedPtr< I3DShMasterShader > &inOutMasterShader)=0 |
| virtual void MCCOMAPI | GetDefaultMasterShader (I3DShMasterShader **masterShader)=0 |
| virtual uint32 MCCOMAPI | GetMasterSoundCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetMasterSoundByIndex (IShMasterSound **masterSound, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | GetMasterSoundByName (IShMasterSound **masterSound, const TMCString &name)=0 |
| virtual MCCOMErr MCCOMAPI | InsertMasterSound (IShMasterSound *masterSound)=0 |
| virtual MCCOMErr MCCOMAPI | RemoveMasterSound (IShMasterSound *masterSound)=0 |
| virtual I3DShSoundtrack * | GetSoundtrack ()=0 |
| virtual MCCOMErr MCCOMAPI | GetTreeRoot (I3DShGroup **group)=0 |
| virtual MCCOMErr MCCOMAPI | SetTreeRoot (I3DShGroup *universe)=0 |
| virtual MCCOMErr MCCOMAPI | CreateTreeRootIfNone ()=0 |
| virtual MCCOMErr MCCOMAPI | GetTreeElementByName (I3DShTreeElement **treeElement, const TMCString &name)=0 |
| virtual uint32 MCCOMAPI | GetInstanceListCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetInstanceByIndex (I3DShInstance **instance, uint32 index)=0 |
| virtual uint32 MCCOMAPI | GetLightsourcesCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetLightsourceByIndex (I3DShLightsource **light, uint32 index)=0 |
| virtual uint32 MCCOMAPI | GetCamerasCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetCameraByIndex (I3DShCamera **camera, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | CreateRenderingCameraIfNone (uint32 cameraType, boolean createDistantLight)=0 |
| virtual MCCOMErr MCCOMAPI | AnimationDataChanged ()=0 |
| virtual MCCOMErr MCCOMAPI | SetTime (MicroTick inTime, boolean inUpdateViews, boolean isContinuePlaying=false, boolean dontRecompute=false, boolean forceSetTime=false, boolean dontPostChange=false)=0 |
| virtual MicroTick MCCOMAPI | GetTime (real *ioSeconds)=0 |
| virtual MCCOMErr MCCOMAPI | SetAllocatedTime (MicroTick inAllocatedTime, boolean inUpdateViews)=0 |
| virtual MicroTick MCCOMAPI | GetAllocatedTime (real *ioSeconds)=0 |
| virtual MCCOMErr MCCOMAPI | GetTimeManager (I3DShTimeManager **timeManager)=0 |
| virtual MCCOMErr MCCOMAPI | GetFullPathName (TMCString &pathName)=0 |
| virtual MCCOMErr MCCOMAPI | GetTreeElementFromFullName (I3DShTreeElement **treeElement, TMCString &fullName)=0 |
| virtual boolean MCCOMAPI | DetectCollisionWithObject (I3DShTreeElement *object1, I3DShTreeElement *object2, CollisionInfo &ci, int16 SurfaceFidelity, boolean UseVelocity, TVector3 Velocity1, TVector3 Velocity2)=0 |
| virtual boolean MCCOMAPI | DetectCollisionWithScene (I3DShTreeElement *object1, CollisionInfo &ci, int16 SurfaceFidelity, boolean UseVelocity, TVector3 Velocity1, TVector3 Velocity2)=0 |
| virtual MCCOMErr MCCOMAPI | GetComment (TMCString &comment)=0 |
| virtual MCCOMErr MCCOMAPI | SetComment (const TMCString &comment)=0 |
| virtual uint32 MCCOMAPI | GetDataComponentsCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetDataComponentByIndex (I3DShDataComponent **dataComp, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | SetDataComponentByID (I3DShDataComponent *dataComp, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | GetDataComponentByID (I3DShDataComponent **dataComp, IDType kindID)=0 |
| virtual MCCOMErr MCCOMAPI | GetEnvironment (I3DShEnvironment **environment)=0 |
| virtual TMCColorRGB MCCOMAPI | GetAmbientLightColor ()=0 |
| virtual MCCOMErr MCCOMAPI | GetBackgroundBitMap (TMCPixelBucket &bitmap, I3DShCamera *camera, TBBox2D &uvBox)=0 |
| virtual MCCOMErr MCCOMAPI | GetBackground (I3DShBackground **background)=0 |
| virtual MCCOMErr MCCOMAPI | SetBackground (I3DShBackground *background, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | SetBackgroundByID (int32 kindID)=0 |
| virtual MCCOMErr MCCOMAPI | GetBackdrop (I3DShBackdrop **backdrop)=0 |
| virtual MCCOMErr MCCOMAPI | SetBackdrop (I3DShBackdrop *backdrop, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | SetBackdropByID (int32 kindID)=0 |
| virtual MCCOMErr MCCOMAPI | GetAtmosphere (I3DShAtmosphericShader **atmosphere)=0 |
| virtual MCCOMErr MCCOMAPI | SetAtmosphere (I3DShAtmosphericShader *atmosphere, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | SetAtmosphereByID (int32 kindID)=0 |
| virtual MCCOMErr MCCOMAPI | GetAmbientLight (I3DShAmbientLight **ambient)=0 |
| virtual MCCOMErr MCCOMAPI | SetAmbientLight (I3DShAmbientLight *ambient, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | SetAmbientLightByID (int32 kindID)=0 |
| virtual uint32 MCCOMAPI | GetRenderFiltersCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetRenderFilter (I3DShPostRenderer **filter, uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | InsertRenderFilter (I3DShPostRenderer *filter, uint32 index, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | InsertRenderFilterByID (int32 kindID, int32 index)=0 |
| virtual MCCOMErr MCCOMAPI | RemoveRenderFilter (uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | SetPostRenderers (TMCCountedPtrArray< I3DShPostRenderer > &list, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | InsertDataComponent (I3DShDataComponent *dataComp, int32 index, ECloneMode cloneMode)=0 |
| virtual MCCOMErr MCCOMAPI | InsertDataComponentByID (int32 kindID, int32 index)=0 |
| virtual MCCOMErr MCCOMAPI | RemoveDataComponent (uint32 index)=0 |
| virtual MCCOMErr MCCOMAPI | GetTimeChangeChannel (IChangeChannel **channel)=0 |
| virtual MCCOMErr MCCOMAPI | GetTreePropertyChangeChannel (IChangeChannel **channel)=0 |
| virtual MCCOMErr MCCOMAPI | GetScenePropertyChangeChannel (IChangeChannel **channel)=0 |
| virtual MCCOMErr MCCOMAPI | GetSceneDocument (ISceneDocument **sceneDoc)=0 |
| virtual MCCOMErr MCCOMAPI | GetSceneRenderingModule (I3DRenderingModule **renderingModule)=0 |
| virtual boolean MCCOMAPI | GetAnimate ()=0 |
| virtual void MCCOMAPI | SetAnimate (boolean animate)=0 |
| virtual MCCOMErr MCCOMAPI | ApplyTreeModifiers (boolean inNotify)=0 |
| virtual MCCOMErr MCCOMAPI | GetRenderEffectsTimeBased (ITimeBased **outTimeBased)=0 |
| virtual MCCOMErr MCCOMAPI | GetRenderingCamera (I3DShCamera **camera)=0 |
| virtual MCCOMErr MCCOMAPI | SetRenderingCamera (I3DShCamera *camera)=0 |
| virtual void MCCOMAPI | SetIsDoingIK (boolean isDoingIK)=0 |
| virtual boolean MCCOMAPI | IsDoingIK ()=0 |
| virtual void MCCOMAPI | SetConstraintsAndIKEnabled (boolean inEnable)=0 |
| virtual boolean MCCOMAPI | GetConstraintsAndIKEnabled ()=0 |
| virtual uint32 MCCOMAPI | GetInstanceIndex (const I3DShInstance *instance)=0 |
| virtual uint32 MCCOMAPI | GetTreesCount ()=0 |
| virtual I3DShTreeElement *MCCOMAPI | GetTreeByIndex (uint32 index)=0 |
| virtual uint32 MCCOMAPI | GetTreeIndex (const I3DShTreeElement *tree)=0 |
| virtual MCCOMErr MCCOMAPI | GetTreeByIDPath (I3DShTreeElement **tree, const TTreeIdPath &IDPath)=0 |
| virtual TTreeId MCCOMAPI | GetTreePermanentID (const I3DShTreeElement *tree)=0 |
| virtual boolean MCCOMAPI | PermanentIDIsValid (const TTreeId &ID)=0 |
| virtual void MCCOMAPI | StoreCurrentState (EFrameType frameType)=0 |
| virtual void MCCOMAPI | BeginRendering ()=0 |
| virtual void MCCOMAPI | EndRendering ()=0 |
The scene contains the list of the Master Objects, Shaders, Sounds as well as the tree (hierarchy) of the scene that contains all the instances of those objects
A scene is also a Master Group and thus implements I3DShMasterGroup as well as I3DShObject.
|
|
Called when animation data have changed. |
|
|
Reapplies the tree behaviors (on each tree that has some)
|
|
|
Called just before the rendering |
|
|
Called to notify that a Master Object as been changed.
|
|
|
Called to indicate the a master shader was modified.
|
|
||||||||||||
|
Creates a rendering camera if there was none.
|
|
|
Creates a group at the root of the scene hierarchy if there is not one already. |
|
||||||||||||||||||||||||||||||||
|
Returns true if the two objects intersect each other.
|
|
||||||||||||||||||||||||||||
|
Returns if the objects collides with the scene
|
|
|
Called just after a rendering |
|
|
Returns the index of a master object in the scene. Returns kUnusedIndex if not found
|
|
|
Returns the index of a Master Shader in the scene. Returns kUnusedIndex if not found
|
|
||||||||||||
|
Returns a pointer to a Master Object.
|
|
||||||||||||
|
Returns a pointer to a Master Object.
|
|
|
Returns the number of Master Objects (see I3DShObject) in the scene. |
|
|
Returns the allocated time.
|
|
|
Returns the ambient light of the scene.
|
|
|
Returns the color of the ambient light. |
|
|
Returns true if the scene is animated. |
|
|
Returns a pointer to the atmosphere of the scene.
|
|
|
Returns the backdrop of the scene.
|
|
|
Returns a pointer to the background of the scene.
|
|
||||||||||||||||
|
Creates a texture of the backdrop.backdrop
|
|
||||||||||||
|
Returns a pointer to a camera of the scene.
|
|
|
Returns the number of cameras in the scene (excluding the cameras that are contained in a Master Group). |
|
|
Returns the comment string that is stored in the scene file.
|
|
|
Returns true if the Constraints (and therefore the IK) are enabled |
|
||||||||||||
|
Returns a pointer to a data component for a given class ID.
|
|
||||||||||||
|
Returns a datacomponent of the scene.
|
|
|
Returns the number of datacomponents associated with the scene. |
|
|
Returns the default master shader or create it if we don't have master shaders in the scene
|
|
|
Creates a new environment (background, backdrop, atmosphere...) for the current time. Note that need to call this function for every frame of the rendering to get a valid environment
|
|
|
Returns the full path name of file where the scene is saved.
|
|
||||||||||||
|
Returns a pointer to an instance.
|
|
|
Returns the index of an instance in the scene. Note that if the instance is inside a Master Group this method will not work.
|
|
|
Returns the number of instances that are contained in the scene (excluding instances contained in master groups). |
|
||||||||||||
|
Returns a pointer to a light source.
|
|
|
Returns the number of light sources in the scene (excluding the light sources that are contained in Master Groups). |
|
||||||||||||
|
Returns a pointer to a master shader.
|
|
||||||||||||
|
Returns a pointer to a Master Shader.
|
|
|
Returns the number of master shaders in the scene. |
|
||||||||||||
|
Returns a pointer to a master sounds.
|
|
||||||||||||
|
Returns the name of a Master Sound.
|
|
|
Returns the number of master sounds in the scene. |
|
|
Returns a pointer associated with the scene rendering effects.
|
|
||||||||||||
|
Returns a pointer of a postrenderer.
|
|
|
Returns the number of post renderers applied to the scene. Note that it does not take into account the post renderers that are instantianted by a data component |
|
|
Returns a pointer to the rendering camera. Note that this call is only valid during the rendering of the scene. To access the rendering camera at other time you should use the scene rendering module.
|
|
|
Returns a pointer to the scene document associated with this scene. Note that it can be NULL if the scene was created without a document.
|
|
|
Returns a pointer to the scene property change channel.
|
|
|
Returns a pointer to the scene rendering module.
|
|
|
Returns a pointer to the sound tracks. |
|
|
Returns the current time of the scene.
|
|
|
Returns a pointer to the time change channel.
|
|
|
Returns the time manager associated with this scene.
|
|
||||||||||||
|
Returns the tree identified by the Path
|
|
|
Returns a pointer to a tree element of the scene.
|
|
||||||||||||
|
Returns a tree element from the scene by name. Note that tree elements that are contained in a master group will not be returned.
|
|
||||||||||||
|
Returns instance with given full "path name" or NULL if no such instance is in the hierarchy
|
|
|
Returns the tree's index in the scene
|
|
|
Returns the tree ID if find it, or else return invalid tree ID; SHOULDN'T BE USED : does not take into account the master groups
|
|
|
Returns a pointer to the tree property change channel.
|
|
|
Returns the group that is the root of the tree of instances. If NULL is returned there is no root (see CreateTreeRootIfNone()).
|
|
|
Returns the number of trees elements in the scene |
|
|
Inserts a Master Object in the scene. If there is already another object with the same name, the name of this object will be changed so that it is unique.
|
|
||||||||||||||||
|
Inserts a data component in the scene.
|
|
||||||||||||
|
Inserts the data component in the list just before the given index if index is between 0 and the number of data components, or inserts the data component at the end of the list
|
|
|
Inserts a master shader in the scene.
|
|
|
Inserts a Master Sound in the scene.
|
|
||||||||||||||||
|
Inserts a post renderer in the scene.
|
|
||||||||||||
|
Inserts a post renderer in the scene.
|
|
|
Returns true if the IK solver is computing the solution |
|
|
Looks for an identical master shader in the scene. If one is found then a pointer is returned.
|
|
|
Checks if the passed ID is not already used by a registered instance. Checks at the same time if the counter that deliver the new IDs is at least as big as this value.
|
|
|
Removes a Master Object from the scene.
|
|
|
Removes a data component from the scene.
|
|
||||||||||||
|
Removes all Duplicated and unused master shaders.
|
|
|
Deletes a master shader from the scene.
|
|
|
Deletes a master sound from the scene.
|
|
|
Removed a post renderer from the scene.
|
|
||||||||||||
|
Change the name of a Master Object and makes sure it is unique.
|
|
||||||||||||
|
Change the name of a master shader and makes sure it is unique. Note that the name of the master shader might be changed by this function in order to ensure that it is unique in the scene.
|
|
||||||||||||
|
Replace a master object by another one.
|
|
||||||||||||
|
Sets the duration of time that is allocated.
|
|
||||||||||||
|
Sets the ambient light of the scene.
|
|
|
Sets the type of ambient light
|
|
|
Sets the animation status of the scene.
|
|
||||||||||||
|
Sets the atmosphere.
|
|
|
Sets the type of atmosphere.
|
|
||||||||||||
|
Sets the backdrop of the scene.
|
|
|
Sets the type of backdrop.
|
|
||||||||||||
|
Sets the background of the scene.
|
|
|
Sets the type of background on the scene.
|
|
|
Sets the comment string that is saved with the scene file.
|
|
|
Enables or disables the Constraints (and therefore the IK)
|
|
||||||||||||
|
Sets a data component on the scene.
|
|
|
Tells the scene to avoid sending tree move messages while solving inverse kinematics (used by the IK solver in BasicComponents)
|
|
||||||||||||
|
Sets the list of post renders of the scene.
|
|
|
Sets the rendering camera of the scene.
|
|
|
|
|
||||||||||||||||||||||||||||
|
Sets the current time of the scene. Note that this function can be slow since it will trigger some calculations (like physics or particle simulation).
|
|
|
Sets the group that is the root of the scene hierarchy.
|
|
|
Stores the current animation parameters of the scene for motion blur purpose. each object that can affect motion blur (skinned object, transforms...) should store their current state so that they can calculate the motion between that time (store) and the current time.
|
1.4.5